Skip to content

Conversation

@kjeremy
Copy link
Contributor

@kjeremy kjeremy commented Oct 21, 2020

@kjeremy kjeremy force-pushed the new-lsp branch 2 times, most recently from f12a831 to 7e6c7a8 Compare October 23, 2020 21:36
@kjeremy kjeremy changed the title WIP Latest proposed LSP 3.16.0 WIP Latest proposed LSP 3.16.0 and refresh semantic tokens Oct 23, 2020
@kjeremy kjeremy changed the title WIP Latest proposed LSP 3.16.0 and refresh semantic tokens Latest proposed LSP 3.16.0 and refresh semantic tokens Oct 26, 2020
@kjeremy kjeremy marked this pull request as ready for review October 26, 2020 13:24
if self.config.semantic_tokens_refresh {
self.semantic_tokens_cache.lock().clear();
self.send_request::<lsp_types::request::SemanticTokensRefesh>((), |_, _| ());
}
Copy link
Contributor Author

@kjeremy kjeremy Oct 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matklad I think this is the right spot to send a refresh request but am not 100% sure.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think this is correct.

@matklad
Copy link
Contributor

matklad commented Oct 26, 2020

bors r+

Thanks @kjeremy for keeping track of this!

@bors
Copy link
Contributor

bors bot commented Oct 26, 2020

@bors bors bot merged commit 42df7cc into rust-lang:master Oct 26, 2020
@kjeremy kjeremy deleted the new-lsp branch October 26, 2020 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants